prevent enter key on search, and stay in same location on mouse click