As Avangi said, both are correct. The first is a reduced adverb clause, a non-finite clause that is used regulary in English, both written and spoken. In this sentence, however, it sounds quite odd because another ing form follows straight after it. If you replace the the word reading with something else, you will see