he sat down , swung his legs up onto the bed , wincing , and leaned gratefully back against the headboard , finding it easier to cope with the pain in his shoulder if he braced his upper body against something .