This Hand Rail can do exactly that. They attach via the two brackets on each foot, that are screwed into place through the 8MM holes. Once attached on your chosen space, these springs allow the bar to be lifted up and folded against your Caravan.
eBay