auto set next prev titles