Added animation on hide() and show()