Change eventlistener click to mousedown.