gridlayout HTML by percentage playing