Added function to select correct wallpaper when switching from single to dual screen