made the pages dropdown use the macro

Signed-off-by: buckie <wjmartino@gmail.com>