Moved css and js from patchgraphhorizontal to separate files. Still seems to work ;)