adds scroll callbacks