Make thumbnail selection border configurable

Provides additional constants in `config.def.h` to configure the width,
outer padding and inner padding of the thumbnail selection border.