Added css transition + refactoring

Added css transition but don't yet understand how to hide text and show
it full only on mouseover... right now the text is just going under/over
next div when sup to the height of its div