refactoring example data source
Handling resizing for list widget