Adding background animation to li