Calculate list width if required