layout improvements and html/css template