Stop browser jumping to selected element