Made topposts support arbitrary number instead of 10