adding keyboard navigation and auto scroll