Added global bools so the code „knows” if it is rotating/displaying in fullscreen or not.
Also added toggle function for rotating and fullscreen in keyboard key pressed code.