dynamically updating background image selector