Performs a smooth page scroll to an anchor on the same page