Search pushstate handling

note: popstate is currently broke'd