defines whether the task form will appear from the left/right side of the screen or near the selected task
gantt.config.quick_info_detached = false;
gantt.init("gantt_here");
This option is defined in the Quick Info extension, so you need to activate the quick_info plugin.