changed main nav hover states and reorganized code