added handlebars rendering. expanded adaptive layout