abstract class, title left functionality

change title bar class to abstract class (shared to all of class), and
title left button.