Fixed an issue with the remove on subview added through markup not working.

The subview added through markup using data-thumbs-view weren't being remove properly.

@nicknisi 
@doug-martin