add move to center behavior