Finally fixed the horizontal platform issue