changed buttons to load ajax content for flipped page and then flip