adds new funtion which replaces wp_list_pages and supports twitter bootstrap pagination