changed top buttons to navigation bar