move gesture listeners to custom actions