Fix bugs

1. Flipped event not trigger on browser don't sopport transition
2. Not work well if pages are less than 3
3. A small protect in goToPage (should throw error)
4. Better support for resizeEvent
5. Add a disable method