Implemented offset.

I've implemented offset, analogous to top/limit.