change 3d & flip slide dictionary when is Vertical