improve code quality and add module pattern
use radio buttons to select tabs
add comments
avoid scrolling on x-axis
Merge branch 'master' into gh-pages