tool bar has been implemented using gridlayout