added new option 'offset' for scrolling back to elements higer than the active element