added some accordion resizing / positioning javascript