Added support for full screen mode.