added auto width so that it can be more responsive