I am missing something obvious I am sure but I can't work this out! Is it that the side comes off or does it attach to the bed somehow?