update item-dividers
fix menu on window resize