Created flipper.js library

All page animations and overlays have been moved to flipper.js. Some various CSS and code cleanup