fix javascript (moved menu) bug for firefox and opera