fixing regex to verify hash is numeric

If you have a hash like #cats12, and try to use the navigation or access direct via url, the slider is getting only the numeric part of the hash (12) and then it's not finding the component id.