Trying new leftmenu algorithm