update location hash when slide changes

change the document.location hash when a carousel slide changes and the data-hash attribute is used