added fullscreen function for unix