adds royal slider and fixes map scaling

@boonrs 
Let's go ahead and move this into it's own javascript file