animation in all four direction