Browser back button going back too far after following link