added pan by keyboard