Hide functionality

Add a transition for the hide method + example.