BHV-5129: Consolidate hide animation logic.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>