as you've probably deduced, pushing in those tanks triggers an unlocking mechanism that allows the legs to slide. So as Paulbot's saying, you need to ensure that you're pushing the tanks in properly so that the mechanism is unlocked before trying to slide the legs.
"Good luck!" - Kamajii (Spirited Away)