removed unused lib and updated thumbnail layout