added scroll animation to api