make transition happen on iOS