added onMove callback in options