Added slider to view flip history. Refactored code to improve OOP.