Removing pagination view logic