Performance imprvement for menu navigation

When doing a navigation a workaround was employed to remove the need to
use the move_mouse functionality in selenium as is was becoming
problematic. However this method was slow as it introduced two clicks
for every nav. The following performance improvement is suggested

* When doing toplevel/secondlevel navigation we first check to see if
  the toplevel is active. If so, we avoid the click on the toplevel