added canvas media query and cleaned up code

Rob cleaning up!