fix the layout of snap view