Added platform flipping