adding mouse listener on move arrow