Don't hide items using .hide, add a state--hidden class instead.