Changed classnames and fixed the text animating