updated ui to display properly on tablets