Remove the 2nd gallery view type, fix gallery sorting options and also add new homepage.