added scrolled directive