Fix IE issues with expanded image by using background-size contain instead of flexbox (do loose ability to save images though)
Fix tests from b1b1ceb checkin
rebase with Master
fixed warning