fix hover images going below page and update localStorage theme when theme changed