buttons left right functioning!!