modified css of centre widget to resize