Better method for hiding title bar. Also hides from the previews in IDE.