mine does the same. first i tried to tighten up the connection of the support brackets to the front cabin wall. added more bolts and a backing plate. that helped a little.i also made some support blocks for in between cab and bed when raised and camping. these are just pieces of scrap wood cut to the contour of the cab right at the drip line(strongest portion of cab roof) with different thicknesses of shims. over a few camp trips, i have used all the different thicknesses depending on how lay of the land and twist in the truck.
[sharedmedia=core:attachments:16802]
these have worked great. the bed is able to be forced up into proper position with the shims. with two of us in the bed i feels rock solid . my camper is 35 yrs old. i think that the pressure of the top on that front portion when down is is what starts it . mine has no structural damage in that section, so there was nothing to fix(although the top was a huge rebuild). this may seem "mickey mouse", but the blocks are easy to use, cheap, and don't damage the truck roof or camper
wes