fixed a dynamic width issue that linger after leaving the page