Got centering of title box and the route selector to work even for iPad
by using the div within a div trick.
Just some reformatting. No functional changes.
Rearranged code to make it more readable. Also, added timer so that
vehicles removed when tablet or laptop opened up again.
Fixed the recent changes. Code was out of order.