guess mime type pdf from file name, if mime type is application/x-octet-stream
(firefox does not provide mime type with uploads)
slow down animation, hide progress-ring when 100%