Added scaleMode=SHOW_ALL and refresh on resize