make item list the same width as container
some js cleanup