Fixing animation direction