JC-1591 Popup fade out animation

Now elements hides and shows by hide() and show() methods, Add
popup fade out animation.

removeClass() and addClass() methods changed width show() and hide()