removing animation when on small device