title: Smooth scroll to anchor from url using jQuery
body: <p>I'm creating a portfolio website and I've got the work section showing half way down the home page. So when you click 'work' in the navigation it scrolls to the work section of the page using jQuery. However when clicking on the work button from the about page it just jumps to the work section, rather than loading the homepage then scrolling to it.</p>
  
  <p>Say the button on the about page is <code>href="index.html#work"</code>. Anyone know how to make it load the home page and then scroll to the work anchor?</p>
  
  <p>Hope this makes sense...</p>