MADS: Fix scrolling check