remove the prev and next buttons in smaller viewport