fixes the scroll with new margins