add css to make sure quotebox is within boundaries