navbar html structure change

fixed the rightmost element not margined negatively, resulting in too
much space at the right end.
minor padding update on search box