client: Properly set minimum size and recalculate length

Always set min and max size and recalculate length when the location
is changed.

This makes elements relayout as expected when moving the panel to a
different location.
containments-panel: Apply changes at startup
containments-panel: Cleanup animation code