Add option to make expanded images fit to screen