change click to mousedown event