Removing status bar and close view code