Fix to not show previous or next when there is nothing there