Set navbar media sizes using variables