Changed the jQuery hidden/visible selectors to be a little more precise.