fix component template link to work properly (keep you on same page) and not send you to #page when clicking on the button for the page currently selected