Added necessary CSS to get positioning correct, updated the JS to use objects instead of arrays for leaner code, added two more statements to jQuery click function.