Set an adequate scroll animation algorithm