added keyboard forward and back controls