create usefull mixin for list and pagination