fwd and back button working