full screen support logic added