Allow dynamic table layout for dicombrowser

Fixed some bug of the tablemanager and added the possibility to set a dynamic layout which changes depending on the widget's size to either vertical or horizontal