Fix edit mode on homepage. Fixed several layouts