forward and back buttons implemented