A dog rolls on a mattress placed on a porch and scratches his back .