adding background transition