Add maximize button. Press it to make the window full screen. Press again to go back to the previous size and position.