fix responsive navbar bug
refactor UI code + add high-level color logic