added main classes and scrolling