create actionbar and complete navigation method