handle mouse movement too