print styles fixed

cleaned up code and now print media query is working properly.
Merge branch 'master' into gh-pages