Fixed Resizing Issues when left or right or both panels are showing or hiding.