Added offsets to the plugin

I have added offsets as that was something that I required for a website I was working on.

You are more than welcome to add this if you see fit.

Thanks