make controllers public and also only trigger the pan gesture if panning the right way