Fix issue on firefox with scroll placement of panel.