Prevent some events from scrolling to the top of the page due to href='#'