Markets ended a volatile session, which saw major stocks rise and fall. Mint's Krishna Merchant looks at the day's action