Added functionality to toggle fullscreen