Added hidden class and setup css3 transtions