refactored forward & reverse button object code

refactored forward & reverse button object code