Correctly change scene based on ratios

HW-3