scale to fit window + input buttons for mobile