prefer visibility to display:none as display:none removes the id anchor form the page flow