Fixed really annoying bug with the hide-pictures button. JS is annoying.