added basic left right logic, using termbox to display