added scroll handling base