add full screen mode function