change view animation direction