fix small bugs
add mask function to smartimageview