Made animation smoother with $.animate path and jQuery Transit