Resizing accordion

Changed the width to fit the title, changed the height to possibly be
less than 100%