- Introduced a Hiof.Options with global settings
- Refactored functions to use the new Hiof.Options
- Added a hook to update the Hiof.Options when the view is scrolled or resized

Signed-off-by: Kenneth Dahlstrøm <kenneth@keda.no>