add mouse coords to up and down