Added div for pagination to index and table layouts