resize toolbar on panel resize