change css to save full height for content of right column
moved some html templates to js