fix up the showing/hiding of elements
remove obsolete JS
resize the logo a bit