Added animation in sidebar to make transitions seamless