responsive update to imagegallery