fixed bug in paneresizer