Added grid size variable to grid mixin and added animation mixins