fixing overflow in left panel