Adding function to maximize current frame to full screen