cubes detection on mouse up, swipe actions (up, down)