extend the thumb function by the HTML5 srcset attribute