top buttons behaviour