Adding max_width variable