added scrolling for view bar