Added closeOnClick and positionTrackerCallback options
Fix
_
Rename closeOnClick to hideOnClick for names consistency
fixed ontouchstart detection for Qt
revert touch detection
added the restoration method