jquery animation, converted from a flash animation