Added detection of mousemove