altered sidebar template to be ignore cases
fixed issue with thumbnails