improve background expansion animation