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
* Once we are on the toplevel, either by clicking or not, we then do the
  same test for the second level. In some cases this will save two
  clicks in a nav operation, significantly improving speed.