Periodic mode changing in PSR J1048−5832