added minResizeWidth to handle the rezise enabled for new apis phones. set a initial layout for al phones older then api 16.