[pagination feature] add input box and allow dynamic resizing

#171