Complete pagination.

Fix some bugs.
Complete UI style for widgets.