removing duplicate code

an extra copy of dynamicview class got introduced somehow, i am removing
it