Added closeOnClick and positionTrackerCallback options