Added flip swipe direction functionality, haml, css cleanup