Question about a self-assemble wooden bed?

wooden bed



We’ve just assembled a wooden bed, single. Should there be any movement in it or should it be rigid? It sort of sways just a bit lengthways and I’m wondering willl it be safe to sleep in or could it collapse.