Refactor creating thumbviews