Modified for new Metro UI CSS version