fixing direction issue for fallback and if transition is no supported dont try to animate by transform