make sure fullscreen graph is fully visible after rotating an Android smartphone