add resize handler for raphael