fixing styles and adding early version flip effect