added «inside actionbar» function(using actionbar height)