Merge branch 't/11207'
Added ticket number related to drag handler css fix.
Makes code more readable and ready to future changes.
Check id offset == container.length before enlarge end.
Check whitespaces using walker instead of regexp.
Added some comments
Code-style and language.