Fill the remaining height or width of a container