code enhancements for uicollectionview cells