Correctly scroll to elements from location hash, accounting for fixed navigation