reorganized navb dot code, fixed bug that left dot count classes on container forever