Added some javascript to scroll if url has # and to not scroll if it doesnt