Added a fix for firefox scrolling and flex properties