solving the overflow issue on the treeview menu