fixed scroll bug for layered sections