listen to panmove with a direction