add mobile navigation show and hide behaviour