private void initMovement() {

		this.setOnMouseClicked(new EventHandler<MouseEvent>() {

			@Override
			public void handle(MouseEvent event) {

				if (event.getClickCount() == 2) {
					windowButtons.toogleMaximized();
				}
			}
		});

		this.setOnMousePressed(new EventHandler<MouseEvent>() {

			@Override
			public void handle(MouseEvent event) {

				mouseDragOffsetX = event.getSceneX();
				mouseDragOffsetY = event.getSceneY();
			}
		});

		this.setOnMouseDragged(new EventHandler<MouseEvent>() {

			@Override
			public void handle(MouseEvent event) {

				if (!windowButtons.isMaximized()) {
					Contacts.getInstance().getPrimaryStage()
							.setX(event.getScreenX() - mouseDragOffsetX);
					Contacts.getInstance().getPrimaryStage()
							.setY(event.getScreenY() - mouseDragOffsetY);
				}
			}
		});

	}