fix overflow issue on js scroll panels and margins for desktop (works fine on mobile)