fixed animation, added minimize, maximize, started implementing firebase