How to swap l and r for a complete animation?