added looping & bounce