Last commit before new branch
Better and cleaner gesture detection