add horizontal position by changing config object