Add the function "Cow & Chick die when hitting both sides of the background"

When they hit left or right border of the background picture, they will
die and fall down.