fixed #2 and changed CSS for library selected thumbnails