extracted the background transitions to background-slider directive