added resizable middle part