make imgs to fit the window and container size