Make pagination more friendly to smaller screens