Move hide/show animation into gui module.