Onload for turbolinks, css for smartphones.