fix background color transitions

small fixes for safari and chrome