Add listener to change size of main div

so height: 100%, bottom: 0, right: 0 can be used
Update templates and sidebar style to look more githubish