Fix unstable horizontal scrolling near right side