Added offset attribute

The optional offset attribute allows scrolling an element into view and offset it by a specified number of pixels