added post draw callback option