Added index2 and main2 files with better automatic scrolling