Scroll logic. Very bad scroll logic.