basic location.hash functionality for linking