fix last item from jumping up into the previous view