adding navbar checking mobile