Modify program architecture
Fix scroll fix