made background compatiable for different browsers