added animation bottom to top, fixed a bug, and an option to choose the popdown animation