Offset support

I added some support for fixed headers and footers by creating an offset
setting.
Tested in Chrome 36, Firefox 29, IE (9-11).