Adding prev and next entry buttons