made full screen optional