got animation working, but only when using 3 sprites for movement instead of 2. and this confuses me