get user agent in application.html.erb
change files for smartphone