make content resize to fit window