added first pan gesture