added totalFluidWidth and check if it exceeds 100%