added mac animations

works only in modern browsers