change to swipe tabs
refactor the code and reduce the length of one scala file
remove the deprecated code