add success callback function
rearrange view