working out pushstate details on homepage