add painting
add hide play painting and resize to refresh cm