only scroll images into view when expanded if they are individually clicked