moving anchor so page scrolls to correct position