Rewrite navbar & added sublime to gitignore

Does not follow PEP8 completely and have not tested for performance.
If necessarily i can fix it to follow PEP8.