Removing need to click to view the gallery