Focus adjustment with sliding movement