add jquery and flip animation effect and timer