full screen gallery fix