Show/hide of logout

Show and hide logouts on screen resize.