Move bounds setup out of map starting position conditionals

Define new bounds variable to allow bounds to be re-used elsewhere in the code.