thumbnail container 100% without overwriting w variable