scrolling of side bar using new whenScrolled Directive