Added pagination directive
prelimination pagination support
Pagination now working on monitor views