Fixed pagination bug and started to build up view page.