made pagination directly clickable