create plugin for pagination for smart table