Fixed horizontal scrollling weirdness. Added click functions (not complete.)