Fixed updating axis margin after deleting group
Implemented option `stack` to enable/disable stacking of items.