implemented animated scroll