scrolling to element on resources page when loading a search