add maximize button to history