remove unused edit template
refactoring
fix scrolling problem