added dynamic layout class to body tag