updatd to version 1.6.0

- added history hash support
- added optional callback when image has been loaded
- code refactoring
- fixed broken counter from version 1.5