added overflow auto to class main