update ui stylesheet attach in layout
refactor layout and code reformatting
update main layout
refactor mobile detect in IndexController
Merge branch 'layout-optimization' into develop