Replace .hide() and .show() with class 'hide'

Change-Id: Ia70c769f1bfebad81772295899254d7398724e79
Merge "Replace .hide() and .show() with class 'hide'"