Are you pre collossal bridge? Theres a few instances where you come across the wheels like that. I was stuck for a bit too and realized theres this part you come to where you stand on a switch and 2 walls move one above you moves down and one below you moves left well those walls move at different speeds so you have to actually stop them just right so you can go, I think its down. If you encountered this already you most likely just went up since thats the easier more obvious path. It wasnt until I came back through that I realized I needed to go down and saw that the walls move at different speeds it was just timing .