pulls rebuilding method for new sort-type out into its own function
removes unused function
pulls some sizing values into variables at top of Repo object
adds horizontal resizing of padding for canvas on window resize
specifies base 10 number system for parseInt calls