Modularized the sidebar code and fixed the special page template
Fixed issue with responding to tablet