added support for cursor seeks and reverse iterations