update cotext div position