added working animation for extending the div