A dynamic rheological model for thin-film lubrication