refactoring rendering widgets for gridster