refacorted to use gestures in quiz part