Modify the following sentence to remove all grammar problems
Picturing him get out of bed at the end of each hour to change beds makes me smile.
Picturing him getting out of bed at the end of each hour to change beds makes me smile.