added a redirect if the front page is accessed from a mobile device