added implementation for forward and back button