Mid point refactor mouse move