pass the new slide index through the history state
clean up ajax slide loading