http://plnkr.co/edit/Whq9Q96j7FbQMcOTZSeq?p=preview
I have attached a plunker which contains two container.
First time when i toggle up or down it works fine after that the when i toggle second container the split bar position is not changed it will be in the same position from where we toggle.