added up down buttons to the image page