changing layouts to be more foundation friendly