added animated parameter to scrolling behavior