adds scroll animation