- added method for checking whether browser is mobile or not