logout button to show lock img on mobile view