refactor graphics item view