Added grid adjustment on widget resize
Added manual center layout manager