added translating pos in percent