corrected strange behaviour of getElementsByClassName
simplified backgrounds