add flat ui and navigation bar