refactor:move dock freeEdges to Layout

Authored by mvourlakos on Dec 1 2018, 2:13 PM.