another callback at the end of pan gesture