Fixed bug where dropdown mobile friend search was not possible on pages other than index.php