It's on top, but we have a custom made metal lid for the cage so it's not mesh and with the reflector we don't really lose any UVB output.
When he gets on his log or rock he's about 5 to 8 inches away defending where he sits but on his floor he's more like 10in away. We move him up closer to...