make back/forward work, thanks Mike Kaply