private void registerEvents(Scene scene) {
        Logger.getLogger(FXReadInterface.class.getName()).entering(FXReadInterface.class.getName(), "registerEvents", scene);
        Logger.getLogger(ReadComponent.class.getName()).log(Level.CONFIG, "Gestures events are being registered");
        scene.setOnZoom((ZoomEvent event) -> {
            readInterface.getReadComponent().setZoomValue(event.getZoomFactor());
        });
        scene.setOnSwipeRight((SwipeEvent event) -> {
            readInterface.goNextImage();
        });
        scene.setOnSwipeLeft((SwipeEvent event) -> {
            readInterface.goPreviousImage();
        });
        scene.setOnRotate((RotateEvent event) -> {
            if (rotationPerformed) {
                return;
            }
            if (event.getTotalAngle() > 80) {
                rotationPerformed = true;
                readInterface.getReadComponent().rotateImage(readInterface.getReadComponent().getCurrentOrientation() + 90);
            } else if (event.getTotalAngle() < -80) {
                rotationPerformed = true;
                readInterface.getReadComponent().rotateImage(readInterface.getReadComponent().getCurrentOrientation() - 90);
            }
        });
        scene.setOnRotationFinished((RotateEvent event) -> {
            rotationPerformed = false;
        });
        Logger.getLogger(FXReadInterface.class.getName()).exiting(FXReadInterface.class.getName(), "registerEvents");
    }