Change the disable-scroll-logic