adjusting stuff for ie8 as usual, widths for modal content, fixing z-index for htc pie buttons