Fixed compass so that it updates with the top navigation bar.