Non-webkit browsers ignore the offset amount #2

Using the history object to update the hash if it's supported by the browser. Otherwise using the location object (for older browsers). Non-supportive browsers will still work as they do now, but modern browsers(non-webkit) will scroll to the correct position.