fixed captions positioning for code listings