Fixes affix plugin to allow a function for offset.

- Evaluates offset parameter if it's a function (function can return a
  number or object, like the static counterparts)
- Updates docs (corrects typo from `left` to `bottom`, adds information about
  function option)