modify click event to mousedown