nesting & medium thumbnail tweak