Added ability to create custom animations for the overlay-background.