moved content style to layout view