Hide all graph UI details when spacebar is pressed