added average pos with leantween library