adds __reversed__ support to iterator