fixed demo project problems and major refactoring of drop down view implementation