make the tray more responsive for small screens