fixed scroll bugs