creating a view mixin for infinate-scrolling
implementing mix-ins for pagination