implemented support for using different image sizes in background carousel