Update xlayout.js

Fixed a bug when resizing and you double click on the bar after completely collapsing one of the panels