Changed animation function. Fixed icon z-index.