squirrel animation works with boundary calculations