Made stats and settings panel heights dynamic