[MRM-550] submitted by John Michael Luy -don't display the "up" link/image when it is the first item and won't dispaly the "down" link/image if it is the last item