set jsmind to the center of container