Added a :before block to animations. Changed slide_in to use it