Set hash fragment on swipe.