Updated BackgroundElement to scoll in loop if a scrollValue is set.