fixed up date rendering to prev, curr and next