Add flexible grid to body

Several front-end changes