UI layer scrolling code done