patch for #185 - Allow offsets as percentages

Test are successfull ( while were failing after applying the code posted by @zeorin ).

Not update the build nor the version, I'll leave this up to you.

I'm using percentage offset successfully in a project I'm developing, so everything seems fine :)

Cheers,
Edoardo