Running up and down the glass is often a sign of stress - he's alone in a new tank - very stressful for him. Cories are shoaling fish - they like the company of others of the same kind. Your cory will be much happier if you can get him a few friends.