Portfolio: added next/previous page buttons to navigate between pages. cleaned up code