added scrolling to active element