Only set request.format = :mobile if request is a HTML request
Fix formatting toggle on mobile