Added changing position by click